/**
 * @Author 李伟民
 * @Description
 * @DateTime 2024/11/25 21:27
 */
public class UserService {

    private String userName;
    private UserDao userDao;

    public void queryMoney(){
        System.out.println(userDao.queryMoney(userName));
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    public UserDao getUserDao() {
        return userDao;
    }

    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
}
